/*****************************************************************************
 *
 *                      HUSONG PROPRIETARY INFORMATION
 *
 *          The information contained herein is proprietary to HUSONG
 *           and shall not be reproduced or disclosed in whole or in part
 *                    or used for any design or manufacture
 *              without direct written authorization from HUSONG.
 *
 *            Copyright (c) 2015 by HUSONG.  All rights reserved.
 *
 *****************************************************************************/
package me.send.data.service.bean;

import java.io.Serializable;

/**
 * @author maxmin
 *
 * @date 2015年8月24日 上午10:27:43
 */
@SuppressWarnings("serial")
public class ReturnJsonBean implements Serializable {
	//成功反回的code
		public static final int SUCCESS = 0;
		
		//失败返回的code
		public static final int FAIL = 1;
		
		//成功反回的消息
		public static final String SUCCESS_STR = "SUCCESS";
		
		//失败返回的消息
		public static final String FAIL_STR = "FAIL";
		
		private int code = FAIL;
		
		private String message = FAIL_STR;
		
		private Object datas;

		/**
		 * @return the code
		 */
		public int getCode() {
			return code;
		}

		/**
		 * @param code the code to set
		 */
		public void setCode(int code) {
			this.code = code;
		}

		/**
		 * @return the message
		 */
		public String getMessage() {
			return message;
		}

		/**
		 * @param message the message to set
		 */
		public void setMessage(String message) {
			this.message = message;
		}

		/**
		 * @return the datas
		 */
		public Object getDatas() {
			return datas;
		}

		/**
		 * @param datas the datas to set
		 */
		public void setDatas(Object datas) {
			this.datas = datas;
		}

		
}
